package com.kyivmohyla.kma2.client.view.common;

import com.google.gwt.i18n.client.DateTimeFormat;
import com.google.gwt.user.cellview.client.CellTable;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.view.client.HasData;
import com.kyivmohyla.kma2.shared.model.UIOrder;

public class OrderCellTableWidget extends Composite {

    private final CellTable<UIOrder> orderCellTable;
    private final static DateTimeFormat dateFormat = DateTimeFormat.getFormat("dd.MM.yyyy HH:mm");

    public OrderCellTableWidget() {
        orderCellTable = new CellTable<UIOrder>();
        initWidget(orderCellTable);
    }

    public HasData getOrderCellTable() {
        return orderCellTable;
    }

    public Widget asWidget() {
        return this;
    }
}
